
<html>
<head>
	<title>路由</title>
</head>
<body>
<?php
  $c=empty($_GET['c'])?"index":$_GET['c'];
  $m=empty($_GET['m'])?"index":$_GET['m'];

$clsName=ucfirst($c).'Controller';//首字母大写
  require "Home/Controller/$clsName.php";
$ctrl= new $clsName();
//var_dump($ctrl->$m());
$ctrl->$m();
?>
</body>
</html>
